import biInput from '@@/admin/assets/bi-plug/field/input.vue';
import biFile from '@@/admin/assets/bi-plug/field/file.vue';
import biSelect from '@@/admin/assets/bi-plug/field/select.vue';
import biRadio from '@@/admin/assets/bi-plug/field/radio.vue';
import biCheckbox from '@@/admin/assets/bi-plug/field/checkbox.vue';
import biTextarea from '@@/admin/assets/bi-plug/field/textarea.vue';
import AdminSystemFile from '@@/admin/assets/component/field/admin-system-file.vue';

import imageExtend from 'param/image.vue';
import systemFileExtend from 'param/system-file.vue';
export default {
    'web-input':{
        label:'文本框',
        props:{},
        extends:undefined,
        option:false,
        component:biInput,
        defaultValue:''
    },
    'web-image':{
        label:'图片',
        props:{
            image:true
        },
        extends:imageExtend,
        option:false,
        component:biFile,
        defaultValue:''
    },
    'web-select':{
        label:'下拉框',
        props:{},
        extends:undefined,
        option:true,
        component:biSelect,
        defaultValue:''
    },
    'web-checkbox':{
        label:'复选框',
        props:{},
        extends:undefined,
        option:true,
        component:biCheckbox,
        defaultValue:''
    },
    'web-radio':{
        label:'单选框',
        props:{},
        extends:undefined,
        option:true,
        component:biRadio,
        defaultValue:''
    },
    'web-textarea':{
        label:'多行文本',
        props:{},
        extends:undefined,
        option:false,
        component:biTextarea,
        defaultValue:''
    },
    'web-theme-file':{
        label:'系统文件',
        props:{},
        extends:systemFileExtend,
        option:false,
        component:AdminSystemFile,
        defaultValue:''
    }
}